<?php

/**
define("APP_PATH",  realpath(dirname(__FILE__) . '/../')); //指向public的上一级
$app  = new Yaf_Application(APP_PATH . "/conf/application.ini");
$app->run();
*/
define("APP_PATH",  dirname(__DIR__));
$app  = new Yaf_Application(APP_PATH . "/conf/application.ini");
$app->bootstrap()->run();